#ifndef UDPFORM_H
#define UDPFORM_H

#include <QWidget>
#include <QUdpSocket>

namespace Ui {
class UdpForm;
}

class UdpForm : public QWidget
{
    Q_OBJECT

public:
    explicit UdpForm(QWidget *parent = nullptr);
    ~UdpForm();

private:
    Ui::UdpForm *ui;
    QUdpSocket *uSocket;

public: signals:
    void statusBarShow(QString msg);

private slots:
    void on_listen();
    void on_receive();
    void on_stop();
    void on_clear();
    void on_send();

};

#endif // UDPFORM_H
